<!-- BEGIN: center-->
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="padding-top:5px">
  <tr>
  	<td>&nbsp;</td>
	<td class="bottom_bar">{save_button}</td>
	<td class="bottom_bar">{cancel_button}</td>
  </tr>
</table>
<br />
<form action="" method="post" name="frmAddcustomer" enctype="multipart/form-data">
<input type="hidden" name="type" value="{write.type}" />
<input type="hidden" name="id" value="{write.customer_id}" />
<table width="100%" border="0" cellspacing="0" cellpadding="2">
  <tr>
	<td align="center" valign="top">
		<table width="100%" border="0" cellspacing="0" cellpadding="3">
		   <tr>
			<td align="left">Pages Name</td>
			<td align="left">{write.page}
				<script language="javascript">
					var frm = document.frmAddcustomer;
					var input = '{write.page_id}';
					for(i=0;i<frm.page_id.options.length;i++){
						if(frm.page_id.options[i].value == input){
							frm.page_id.selectedIndex = i;
						}
					}
				</script>
			</td>
		  </tr>
		  <tr>
			<td align="left">Name</td>
			<td align="left"><input type="text" name="name" size="30px" value="{write.name}" /></td>
		  </tr>
		  <tr>
			<td align="left">Images</td>
			<td align="left"><input type="file" name="image" value=""/>&nbsp;&nbsp;{write.show_image}&nbsp;&nbsp;  
			<input type="checkbox" name="delete_img" value="1" class='noborder' />&nbsp;&nbsp;(Delete image)</td>
		  </tr>
		  <tr>
			<td align="left">Status</td>
			<td align="left">
			  <input type="checkbox" name="status" value=1 {write.status} class='noborder' />
			</td>
		  </tr> 
		  <tr>
			<td align="left">Description</td>
			<td align="left"><? $_FCKeditor->Create();?></td>
		  </tr>		 
		</table>
	</td>	
  </tr>
</table>
</form>
<!-- END: center-->
